import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget{

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'TextWidget',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('TextWidget'),
        ),
        body: Center(
          child: Container(
            child: Image.network(
              'https://lmg.jj20.com/up/allimg/1113/052420110515/200524110515-2-lp.jpg',
              scale: 1.5,
              //  图片混合
              // color: Colors.greenAccent,
              // colorBlendMode: BlendMode.dstIn,

              // 图片填充
              repeat: ImageRepeat.repeatY,
              //  图片布局、缩放
              // fit: BoxFit.fitHeight,
            ),
            width: 400,
            height: 300,
            color: Colors.lightBlue,
          ),
        ),
      ),
    );
  }
}